arm: zynq: spl: fix FPGA initialization
authorLuis Araneda <[email protected]>
Thu, 19 Jul 2018 07:10:18 +0000 (03:10 -0400)
committerMichal Simek <[email protected]>
Thu, 19 Jul 2018 08:49:57 +0000 (10:49 +0200)
commit577012da71ea9dcf07272c7f458218aa8ab29984
tree836d7fd9f833b285645a33e457b74be6110a0e08
parentd600c4f6b09f75c3bb0ef588cde69cc236ec3feb
arm: zynq: spl: fix FPGA initialization

commit 4aba5fb857c1 ("arm: zynq: Rework FPGA initialization")
moved FPGA initialization from board_init() to arch_early_init_r(),
which is not called as part of the SPL

Fix this by calling arch_early_init_r() in the spl_board_init()
function, so the FPGA is correctly initialized

Signed-off-by: Luis Araneda <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
arch/arm/mach-zynq/spl.c